﻿@model MySite.Models.ResetPasswordModel

@{
    ViewBag.Title = "QuestionAndAnswer";
}

<h2>QuestionAndAnswer</h2>
<fieldset>
    <legend>Password Recovery Question</legend>
    @using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post))
    { 
        <div class="editor-label">
            @Html.LabelFor(m => m.UserName, "User name: " + Model.UserName)
        </div>
         <div class="editor-label">
            @Html.LabelFor(m => m.Question)
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(m => m.Question)
            @Html.ValidationMessageFor(m => m.Question)
        </div>
        <br/>
        <input id="btnSubmit" type="submit" value="submit" />
    }
</fieldset>